package ReefStats::Schema::ReefStatsDB::ActionsUser;

use strict;
use warnings;

use base 'DBIx::Class';

__PACKAGE__->load_components("Core");
__PACKAGE__->table("actions_user");
__PACKAGE__->add_columns(
  "day",
  { data_type => "DATE", default_value => undef, is_nullable => 0, size => 10 },
  "cluster",
  { data_type => "varchar", default_value => undef, is_nullable => 0, size => 100 },
  "user",
  { data_type => "varchar", default_value => undef, is_nullable => 0, size => 100 },
  "action",
  { data_type => "varchar", default_value => undef, is_nullable => 0, size => 20 },
  "number",
  {
    data_type => "MEDIUMINT",
    default_value => undef,
    is_nullable => 0,
    size => 8,
  },
);
__PACKAGE__->set_primary_key("cluster", "action", "user", "day");

1;
